#ifndef _GOTOPOS_
#define _GOTOPOS_

#include "Aria.h"
#include "../vision/VisionController.h"

using namespace vctrl;

class GoToPos : public ArAction{

public:
	GoToPos(float depth, float degree,VisionController *visione);
	~GoToPos();


private:
	ArActionDesired* fire(ArActionDesired currentDesired);

	float depth;
	float degree;
	float range;
	bool moved;
	int cont;
	bool gotopp;
	VisionController *visione;
	ArActionDesired myDesired;

};

#endif
